//
// Created on 2024/8/24.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#include "./arkui_base_node.h"

#ifndef ISSUETEST_NODE_HANDLER_H
#define ISSUETEST_NODE_HANDLER_H

namespace NativeArkUI {
class NodeManager {
public:
    NodeManager() {}

    /*
     * 设置与ts侧关联的nodeContent
     */
    static void SetContentHandle(ArkUI_NodeContentHandle handle);

    /*
     * 设置根组件node
     */
    static void SetRootNode(const std::shared_ptr<ArkUIBaseNode> &baseNode);

    /*
     * 移除根组件node
     */
    static void DisposeRootNode();
};
} // namespace NativeArkUI

#endif // ISSUETEST_NODE_HANDLER_H
